package cn.buk.tms.eotms.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.Date;

public class PassengerIdInfoDto {

  @JsonInclude(JsonInclude.Include.NON_NULL)
  private Integer id;

  /**
   * 证件类型
   */
  private int idType;

  /**
   * 证件号
   */
  private String idNo;

  /**
   * 证件签发国家/地区
   */
  @JsonInclude(JsonInclude.Include.NON_NULL)
  private String idIssueNation;

  /**
   * 证件有效期
   */
  @JsonInclude(JsonInclude.Include.NON_NULL)
  @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  private Date idValidDate;

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public int getIdType() {
    return idType;
  }

  public void setIdType(int idType) {
    this.idType = idType;
  }


  public String getIdNo() {
    return idNo;
  }

  public void setIdNo(String idNo) {
    this.idNo = idNo;
  }


  public String getIdIssueNation() {
    return idIssueNation;
  }

  public void setIdIssueNation(String idIssueNation) {
    this.idIssueNation = idIssueNation;
  }


  public Date getIdValidDate() {
    return idValidDate;
  }

  public void setIdValidDate(Date idValidDate) {
    this.idValidDate = idValidDate;
  }

}
